.shop-header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 3.5rem;
  padding: 0 1.5rem;
  background-color: #f10215;
}

.shop-header .shop-nav {
  display: none;
  height: 100%;
  align-items: center;
}

.shop-header .shop-list {
  display: flex;
}

.shop-header .shop-list-item {
  margin: 0 1rem;
}

.shop-header .shop-list-item a{
  color: #fff;
}

.shop-header .shop-list-item a:hover,
.shop-header .shop-list-item a.active {
  color: yellow;
}

.mobile-nav {
  width: 30rem;
  max-width: 50%; 
  height:100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: #fff;
  z-index: 10;
  padding:2rem 1rem 1rem 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
}

.mobile-nav.open {
  transform: translateX(0);
}

.moblile-nav-item {
  margin: 1rem;
}

.mobile-nav-item a {
  display: block;
  color: #000;
  font-size: 1.5rem;
  padding: .5rem 2rem;
}

.mobile-nav-item a:hover{
  color: gold;
}
.mobile-nav-item a.active {
  color: #fff;
  background-color: #f10215;
}

#side-menu-toggle {
  display: block;
  padding:.5rem;
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
}

#side-menu-toggle:hover {
  color: #000;
  border-color: #000;
}

.mask {
  display: none;
  position:fixed;
  top: 0;
  left:0;
  width:100%;
  height:100vh;
  background-color: rgba(0,0,0, 0.6);
  z-index: 5;
}

main {
  padding: 1rem;
}

@media(min-width: 768px){
  .shop-header .shop-nav{
    display: flex;
  }

  #side-menu-toggle {
    display: none;
  }
}


main {
  padding: 1rem;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: stretch;
}

.card {
  width: 20rem;
  max-width: 95%;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  padding: 1rem;
}

.card-header,
.card-content {
  padding: 1rem;
}

.card-header h1,
.card-content h1,
.card-content h2,
.card-content p {
  margin: 0;
}

.card-header .product-title {
  margin-bottom: 20px;
}

.card-image {
  width: 100%;
}

.card-image img {
  width: 200px;
}

.card-actions {
  text-align: center;
}

.card-actions button,
.card-actions a {
  margin: 1rem .25rem;
}

.btn {
  display: inline-block;
  font-size: 16px;
  color: #f10215;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #f10215;
  padding: 0 5px;
  cursor: pointer;
}

.btn:hover{
  background-color: #f00;
  color: #fff;
}

/* form */

form {
  display: block;
}

.form-control {
  margin: 1rem 0;
}

.from-control label,
.from-control input {
  display: inline-block;
  width:100%;
  margin-bottom: .25rem;
}

.form-control input,
.form-control textarea {
  width: 100%;
  border: 1px solid #333;
  border-radius: 5px;
}

.form-control input{
  height: 20px;
}

.form-control input:focus {
  outline-color: rgb(208, 78, 78);
}


